home *** CD-ROM | disk | FTP | other *** search
- @echo off
- ! movedir.bat Batch file to move a folder to another folder
- !
- ! movedir name [dest]
- !
- ! where 'name' is the folder to be cmoved and 'dest' is the folder which
- ! shall contain 'name'. Both names can be preceded by paths and volume IDs.
- ! If 'dest' is missing, the current directory is used as destination.
- !
- ! movedir.bat calls copydir and deldir
- !
- ! Copyright © 1994 by Rainbow Hill Pty Ltd. All rights reserved.
- !
-
- set doserr=0
- call copydir "%1" "%2"
- if %doserr% == 0 deldir "%1"
-